import dataEmpty from './data/data-empty.json'
import loading from './data/loading.json'
import error403 from './data/error-403.json'
import error404 from './data/error-404.json'
import error503 from './data/error-503.json'

// lottie动画图片资源路径
export const assetsPath = `${import.meta.env.VITE_STATIC_HOST}/static/images/`

export const defaultRender = 'canvas'

// lottie动画定义
export const animationMap: Record<string, { data: object }> = {
  dataEmpty: {
    data: dataEmpty,
  },
  loading: {
    data: loading,
  },
  error403: {
    data: error403,
  },
  error404: {
    data: error404,
  },
  error503: {
    data: error503,
  },
  error500: {
    data: error503,
  },
}
